<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link href="<%=request.getContextPath()%>/css/global.css" type="text/css" rel="stylesheet" />
<link href="<%=request.getContextPath()%>/js/easyui/themes/metro/easyui.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/validate/validate.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/global.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/easyui/easyui.js"></script>
<script type="text/javascript">
	$(function() {
		$("#sform").validate({
			rules : {
				bnkNo : {
					required : true
				},
				bnkP0 : {
					required : true,
					number : true
				},
				bnkR0 : {
					required : true,
					number : true
				},
				bnkP1 : {
					required : true,
					number : true
				},
				bnkR1 : {
					required : true,
					number : true
				},
				bnkP2 : {
					required : true,
					number : true
				},
				bnkR2 : {
					required : true,
					number : true
				},
				bnkP3 : {
					required : true,
					number : true
				},
				bnkR3 : {
					required : true,
					number : true
				},
				bnkP4 : {
					required : true,
					number : true
				},
				bnkR4 : {
					required : true,
					number : true
				},
				bnkP5 : {
					required : true,
					number : true
				},
				bnkR5 : {
					required : true,
					number : true
				}
			},
			errorPlacement : function(error, element) {
				element.css("border-color", "#1c3e57");
			},
		});
	});
</script>
</head>
<body>
	<div class="easyui-panel" title="编辑面板" style="width: 100%;" data-options="fit:true">
		<form id="sform" action="bank_savemark.html" method="post" enctype="multipart/form-data">
			<table width="90%">
				<tr>
					<td height="30" align="right" width="200"><b></b></td>
					<td width="300"><b>内容</b></td>
					<td><b>说明</b></td>
				</tr>
				<tr>
					<td></td>
					<td colspan="2"><hr /></td>
				</tr>
				<tr>
					<td height="30" align="right">编号 :</td>
					<td><s:property value="bankBean.bnkNo"/><input type="hidden" placeholder="编号" name="bnkNo" id="bnkNo" value="<s:property value="bankBean.bnkNo"/>" /></td>
					<td>收单行编号,前三位为银行类型,后三位为EDC或DCC标志,最后四位为序号</td>
				</tr>
				<tr>
					<td height="30" align="right">一级溢价比例 :</td>
					<td><input type="text" placeholder="一级溢价比例" name="bnkP0" id="bnkP0" value="<s:if test="bankBean.bnkP0!=null"><s:text name="global.format.number"><s:param value="bankBean.bnkP0"/></s:text></s:if>"
						onkeyup="value=value.replace(/[^\d\.]/g,'')" /></td>
					<td>一级溢价比例(%)</td>
				</tr>
				<tr>
					<td height="30" align="right">一级区间范围 :</td>
					<td><input type="text" placeholder="一级区间范围" name="bnkR0" id="bnkR0" value="<s:if test="bankBean.bnkR0!=null"><s:text name="global.format.number"><s:param value="bankBean.bnkR0"/></s:text></s:if>"
						onkeyup="value=value.replace(/[^\d\.]/g,'')" /></td>
					<td>交易金额范围所属一级区间(0-N)</td>
				</tr>
				<tr>
					<td height="30" align="right">二级溢价比例 :</td>
					<td><input type="text" placeholder="二级溢价比例" name="bnkP1" id="bnkP1" value="<s:if test="bankBean.bnkP1!=null"><s:text name="global.format.number"><s:param value="bankBean.bnkP1"/></s:text></s:if>"
						onkeyup="value=value.replace(/[^\d\.]/g,'')" /></td>
					<td>二级溢价比例(%)</td>
				</tr>
				<tr>
					<td height="30" align="right">二级区间范围 :</td>
					<td><input type="text" placeholder="二级区间范围" name="bnkR1" id="bnkR1" value="<s:if test="bankBean.bnkR1!=null"><s:text name="global.format.number"><s:param value="bankBean.bnkR1"/></s:text></s:if>"
						onkeyup="value=value.replace(/[^\d\.]/g,'')" /></td>
					<td>交易金额范围所属二级区间</td>
				</tr>
				<tr>
					<td height="30" align="right">三级溢价比例 :</td>
					<td><input type="text" placeholder="三级溢价比例" name="bnkP2" id="bnkP2" value="<s:if test="bankBean.bnkP2!=null"><s:text name="global.format.number"><s:param value="bankBean.bnkP2"/></s:text></s:if>"
						onkeyup="value=value.replace(/[^\d\.]/g,'')" /></td>
					<td>三级溢价比例(%)</td>
				</tr>
				<tr>
					<td height="30" align="right">三级区间范围 :</td>
					<td><input type="text" placeholder="三级区间范围" name="bnkR2" id="bnkR2" value="<s:if test="bankBean.bnkR2!=null"><s:text name="global.format.number"><s:param value="bankBean.bnkR2"/></s:text></s:if>"
						onkeyup="value=value.replace(/[^\d\.]/g,'')" /></td>
					<td>交易金额范围所属三级区间</td>
				</tr>
				<tr>
					<td height="30" align="right">四级溢价比例 :</td>
					<td><input type="text" placeholder="四级溢价比例" name="bnkP3" id="bnkP3" value="<s:if test="bankBean.bnkP3!=null"><s:text name="global.format.number"><s:param value="bankBean.bnkP3"/></s:text></s:if>"
						onkeyup="value=value.replace(/[^\d\.]/g,'')" /></td>
					<td>四级溢价比例(%)</td>
				</tr>
				<tr>
					<td height="30" align="right">四级区间范围 :</td>
					<td><input type="text" placeholder="四级区间范围" name="bnkR3" id="bnkR3" value="<s:if test="bankBean.bnkR3!=null"><s:text name="global.format.number"><s:param value="bankBean.bnkR3"/></s:text></s:if>"
						onkeyup="value=value.replace(/[^\d\.]/g,'')" /></td>
					<td>交易金额范围所属四级区间</td>
				</tr>
				<tr>
					<td height="30" align="right">五级溢价比例 :</td>
					<td><input type="text" placeholder="五级溢价比例" name="bnkP4" id="bnkP4" value="<s:if test="bankBean.bnkP4!=null"><s:text name="global.format.number"><s:param value="bankBean.bnkP4"/></s:text></s:if>"
						onkeyup="value=value.replace(/[^\d\.]/g,'')" /></td>
					<td>五级溢价比例(%)</td>
				</tr>
				<tr>
					<td height="30" align="right">五级区间范围 :</td>
					<td><input type="text" placeholder="五级区间范围" name="bnkR4" id="bnkR4" value="<s:if test="bankBean.bnkR4!=null"><s:text name="global.format.number"><s:param value="bankBean.bnkR4"/></s:text></s:if>"
						onkeyup="value=value.replace(/[^\d\.]/g,'')" /></td>
					<td>交易金额范围所五级区间</td>
				</tr>
				<tr>
					<td height="30" align="right">六级溢价比例 :</td>
					<td><input type="text" placeholder="六级溢价比例" name="bnkP5" id="bnkP5" value="<s:if test="bankBean.bnkP5!=null"><s:text name="global.format.number"><s:param value="bankBean.bnkP5"/></s:text></s:if>"
						onkeyup="value=value.replace(/[^\d\.]/g,'')" /></td>
					<td>六级溢价比例(%)</td>
				</tr>
				<tr>
					<td height="30" align="right">六级区间范围 :</td>
					<td><input type="text" placeholder="六级区间范围" name="bnkR5" id="bnkR5" value="<s:if test="bankBean.bnkR5!=null"><s:text name="global.format.number"><s:param value="bankBean.bnkR5"/></s:text></s:if>"
						onkeyup="value=value.replace(/[^\d\.]/g,'')" /></td>
					<td>交易金额范围所属六级区间(N-999999.99)</td>
				</tr>

				<tr>
					<td></td>
					<td colspan="2"><hr /></td>
				</tr>

				<tr>
					<td height="30" align="right"></td>
					<td><input type="button" class="submit" value="提交单据" onclick="if($('#sform').valid()){$('#sform').submit();}" /> <input type="button" class="submit" value="返回上级" onclick="history.go(-1);" /></td>
					<td></td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>

